package com.educate.controller;

import org.springframework.web.bind.annotation.*;

/**
 * @author xiongyu
 * @date 2021/11/25 14:29
 */
@RestController
@RequestMapping("/hello")
public class HelloController {

    @GetMapping("/{id}")
    public int hello(@PathVariable("id") int id){
        return id;
    }
}
